package com.ljz.dao;

import com.ljz.entity.Dept;
import com.ljz.entity.Emp;

import java.util.List;

public interface DeptDao {
    List<Dept> findAll();
    Dept findById(int deptno);
    int add(Dept dept);
    int update(Dept dept);
    int delete(int deptno);
}
